package com.customer.crm.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.customer.crm.system.pojo.SystemUserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author: zlq
 * @create : 2021/12/20
 */
@Mapper
public interface SystemUserRoleMapper extends BaseMapper<SystemUserRole> {
    boolean deleteUserRole(@Param("userId")String userId);
    Integer insertUserRole(@Param("userId")String userId,@Param("roleId")String roleId);
}
